package com.sy.repository;

import com.sy.entity.ModelPage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @author zbbstart
 * @date 2021/1/31 - 22:42
 */
public interface ModelPageRepository extends JpaRepository<ModelPage,Integer> {
    @Query("select m.menuLink from ModelPage m")
    List<String> getMenuList();

    @Query("select m.html from ModelPage m")
    List<String> getHtmlList();

    @Query("select m.js from ModelPage m")
    List<String> getJsList();

}
